package com.springboot.demo.model.query;

import com.cx.item.common.par.PageParam;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * Created by hwm on 2018/6/20.
 */
@ApiModel(description = "商品查询参数")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class GoodsListQuery extends PageParam {

    @ApiModelProperty("商品类型编码")
    private String goodsTypeCode;

    @ApiModelProperty("排序方式:1综合排序,2价格升序,3价格降序")
    private Integer sortType = 1;

}
